-- GENERATED SPELL FOR [Underbog Frenzy] --


function spell0_20465(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(12097,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20465', 20308, 1)
end

function Sorts_20465(pUnit, Event)
local choix_sorts_20465 = math.random(0, 0)
if choix_sorts_20465 == 0 then
pUnit:RegisterEvent('spell0_20465', 1, 1)
end
end

function mob20465_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20465', math.random(1500, 3000), 1)
end

function mob20465_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20465_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20465_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20465, 1, 'mob20465_Action')
RegisterUnitEvent(20465, 2, 'mob20465_Leave')
RegisterUnitEvent(20465, 3, 'mob20465_Kill')
RegisterUnitEvent(20465, 4, 'mob20465_Die')
